<?php 
include_once '../function.php';

/**
*抽象类
*/
abstract class Father
{
	abstract public function run();
	abstract public function pao();
	public function set()
	{
		echo "我可以设置数据";
	}
}

// echo __DIR__ ;
/**
* 子类
*/
class Son extends Father
{
	function __construct()
	{
		echo __CLASS__;
	}
	
	function show ()
	{
		echo "输出点东西";
	}

	public function run()
	{
		echo "可以跑";
	}

	public function pao()
	{
		echo "可以跑";
	}

}

class Son1 extends Father
{
	function __construct()
	{
		echo __METHOD__;
	}
	
	function show ()
	{
		echo "输出点东西";
	}

	public function run()
	{
		echo "可以跑";
	}

	public function pao()
	{
		echo "可以跑";
		echo __METHOD__;
	}

}



$obj = new Son1();
$obj->pao();



















 ?>